package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.DeviceLocationDao;
import io.renren.modules.generator.entity.DeviceLocationEntity;
import io.renren.modules.generator.service.DeviceLocationService;



@Service("deviceLocationService")
public class DeviceLocationServiceImpl implements DeviceLocationService {
	@Autowired
	private DeviceLocationDao deviceLocationDao;
	
	@Override
	public DeviceLocationEntity queryObject(Integer id){
		return deviceLocationDao.queryObject(id);
	}
	
	@Override
	public List<DeviceLocationEntity> queryList(Map<String, Object> map){
		return deviceLocationDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return deviceLocationDao.queryTotal(map);
	}
	
	@Override
	public void save(DeviceLocationEntity deviceLocation){
		deviceLocationDao.save(deviceLocation);
	}
	
	@Override
	public void update(DeviceLocationEntity deviceLocation){
		deviceLocationDao.update(deviceLocation);
	}
	
	@Override
	public void delete(Integer id){
		deviceLocationDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		deviceLocationDao.deleteBatch(ids);
	}
	
}
